export JFORM_HOME=/home/albert/myWork/jEasyForm
#export LD_LIBRARY_PATH=$JFORM_HOME/c/lib
export LD_LIBRARY_PATH=/home/albert/myWork/jEasyForm/c/lib
env|grep LD_LIBRARY_PATH
export CLASSPATH=$JFORM_HOME/lib/BasCommClient.jar:$JFORM_HOME/lib/jform.jar:$JFORM_HOME/lib/charva-resoft.jar:$JFORM_HOME/lib/commons-logging-api.jar:$JFORM_HOME/lib/commons-logging.jar:$JFORM_HOME/lib/log4j-1.2.8.jar:$JFORM_HOME/classes/
echo $CLASSPATH
#export DEBUG="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
$JAVA_HOME/bin/java $DEBUG -DJFORM_HOME=$JFORM_HOME resoft.jeasyform.JForm $1 2>>/tmp/jform.log
#java $DEBUG -DJFORM_HOME=$JFORM_HOME JReportTest
